
var queryString = '';
      var dataUrl = '';
      
      function draw(dataTable) {
          var vis = new google.visualization.PieChart(document.getElementById('chart'));
          var options = {
  		  width:'800',
  		  height:'640',
  		  backgroundColor:'white',
  		  vAxis:{title:'Price (original currency)'},
  		  hAxis:{title:'Time (week.year)'},
  		  legend:'bottom',
  		  legendTextStyle:{fontSize:'10'},
  		  chtt:'mustafa',
  		  title:'Comparative Price Archive Chart'
          };
  		
          //vis.draw(dataTable, {width: 400, height: 240, min: 0,vAxis:{title: 'mustafa'}});
  		vis.draw(dataTable, options);
        }

        function handleQueryResponse(response) {
          if (response.isError()) {
            alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage());
            return;
          }
          draw(response.getDataTable());
        }

        
        

    